| Plugin ID | 341 |
| Plugin name | phpMyAdmin prior 2.6.0-pl2 remote command execution |
| Plugin filename | phpMyAdmin prior 2.6.0-pl2 remote command execution.plugin |
| Plugin filesize | 2709 bytes |
| Plugin family | CGI |
| Plugin created name | Marc Ruef |
| Plugin created email | marc.ruef at computec.ch |
| Plugin created web | http://www.computec.ch |
| Plugin created company | computec.ch |
| Plugin created date | 2005/01/09 |
| Plugin version | 1.0 |
| Plugin protocol | tcp |
| Plugin port | 80 |
| Plugin procedure detection | open|send GET /main.php HTTP/1.0\n\n|sleep|close|pattern_exists HTTP/#.# 200 *Welcome *to *phpMyAdmin*2.[0-5].*</h1>* OR HTTP/#.# 200 *Welcome *to *phpMyAdmin*2.6.0*</h1>* OR HTTP/#.# 200 *Welcome *to *phpMyAdmin*2.6.0-pl1*</h1>* |
| Plugin detection accuracy | 79 |
| Plugin comment | The NASL script is Copyright (C) 2004 David Maciejak |
| Bug published name | phpMyAdmin team |
| Bug affected | phpMyAdmin prior 2.6.0-pl2 |
| Bug not affected | phpMyAdmin newer than 2.6.0-pl2 |
| Bug vulnerability class | Unknown |
| Bug false positives | The pattern matching is not so accurate because the formatting of the version information is not known. |
| Bug description | The remote host is running phpMyAdmin, an open-source software written in PHP to handle the administration of MySQL over the Web. The remote version of this software is vulnerable to arbitrary command execution due to a lack of user-supplied data sanitization. |
| Bug solution | Upgrade to version 2.6.0-pl2 or newer. |
| Bug fixing time | Approx. 20 minutes |
| Bug exploit availability | Maybe |
| Bug exploit url | http://www.securityfocus.com/bid/11391/exploit/ |
| Bug remote | Yes |
| Bug local | Yes |
| Bug severity | High |
| Bug popularity | 6 |
| Bug simplicity | 6 |
| Bug impact | 9 |
| Bug risk | 7 |
| Bug Nessus risk | High |
| Bug check tools | Nessus can check this flaw with the plugin 15478 (phpMyAdmin remote command execution). |
| Source SecurityFocus BID | 11391 |
| Source Nessus ID | 15478 |
| Source Literature | Hacking Exposed: Network Security Secrets & Solutions, Stuart McClure, Joel Scambray and George Kurtz, February 25, 2003, 4th Edition, McGraw-Hill Osborne Media, ISBN 0072227427 |
| Source Misc. | http://www.computec.ch |